package com.primeton.wh.mcenter.impl.client.fallback;

import com.primeton.wh.mcenter.api.response.CodeMsg;
import com.primeton.wh.mcenter.api.response.Result;
import com.primeton.wh.mcenter.impl.client.CapUserClient;
import org.springframework.stereotype.Component;

/**
 * @author: YunTao.Li
 * @create: 2019-12-23 13:18
 * @description:
 **/
@Component
public class CapUserFallback implements CapUserClient {
    @Override
    public Result getEmpDetail(Integer userId, String userName) {
        return Result.error(CodeMsg.FALLBACK);
    }
}
